Override material tax classification to "Tax Exempt" (2) if the supplying plant is in US and order is on sales org 1200 (CA).
If the goods are being shipped from US plant to the Canadian customer the tax classification on the order should be 2 of the ordering sales org.
This is not a global change. Ordering sales org 1200 (Canada Sales) and supplying plant should be based in US for this change. Order types (manual or EDI) are applicable.
The solution involves updating the sales order user exit to get the tax classification maintained for CA from the material master when the order is placed in sales org 1200.
The material tax classification should be captured from the material master based on the value maintained for country CA. If no value is maintained for CA let standard take over.
If sales org is 1200, take the material tax classification from sales org country "CA" from master data, regardless where the departure country is. Standard behaviour should take over if there was no master data maintained for CA on the material master.
Test ID
|
Test Scenario
|
Expected Results
|
SD001
|
Create manual SO with sales org 1200, plant 0110 with kids material (single material) - CA Tax = 2
|
The tax classification should be picked from the material master for CA = 2
|
SD002
|
Create manual SO with sales org 1200, plant 0110 with kids and non kids material (multiple materials) -
CA Tax = 1 and 2
|
The tax classification should be picked from the material master for CA = 1 and 2 appropriately.
|
SD002
|
Create EDI SO with sales org 1200, plant 0110 with kids material (single material) - CA Tax = 2
|
The tax classification should be picked from the material master for CA = 2
|
SD003
|
Create manual SO with sales org 1200, plant 0110 with kids and non kids material (multiple materials) -
CA Tax = 1 and 2
|
The tax classification should be picked from the material master for CA = 1 and 2 appropriately.
|
SD004
|
Create manual SO with sales org 1200, plant 0110 with kids material and non kids material (multiple materials) - CA Tax = 1 and 1
|
The tax classification should be picked from the material master for CA = 1 and 1 appropriately.
|
SD005
|
Create manual SO with sales org 1200, plant 0116 with kids material and non kids material (multiple materials) - CA Tax = 2 and 2
|
The tax classification should be picked from the material master for CA = 2 and 2 appropriately.
|
SD006
|
Create manual SO with sales org 1200, plant 0116 with kids material and non kids material (multiple materials) - CA Tax = 0 and 0
|
|
SD005
|
Create manual SO with sales org 1200, plant 0210 (CA)
|
|
Tesd ID
|
Scenario
|
|
|
|
Expected Results
|
|
CA Tax = 1
|
CA Tax = 2
|
CA Tax = 0
|
CA Tax not maintained
|
SD001
|
Manual order, CA org, US plant, single material, Taxable
|
X
|
|
|
|
Tax = 1
|
SD002
|
Manual order, CA org, US plant, single material, Kids Exempt
|
|
X
|
|
|
Tax = 2
|
SD003
|
Manual order, CA org, US plant, single material, No Tax
|
|
|
X
|
|
Tax = 0
|
SD004
|
Manual order, CA org, US plant, Multiple material, Taxable, Kids Exempt
|
X
|
X
|
|
|
Tax = 1 ; Tax = 2
|
SD005
|
Manual order, CA org, US plant, Multiple material, Taxable, No Tax
|
X
|
|
X
|
|
Tax = 1 ; Tax = 0
|
SD006
|
Manual order, CA org, US plant, Multiple material, Kids Exempt, No Tax
|
|
X
|
X
|
|
Tax = 2 ; Tax = 0
|
SD007
|
Manual order, CA org, US plant, Multiple material, Tax not maintained on one of the items
|
X
|
|
|
NA
|
Tax = 1; No tax
|
SD008
|
EDI order, CA org, US plant, Single material, Taxable
|
X
|
|
|
|
Tax = 1
|
SD009
|
EDI order, CA org, US plant, Single material, Kids Exempt
|
|
X
|
|
|
Tax = 2
|
SD010
|
EDI order, CA org, US plant, Single material, No Tax
|
|
|
X
|
|
Tax = 0
|
SD011
|
EDI order, CA org, US plant, Multiple material, Taxable, Kids Expempt
|
X
|
X
|
|
|
Tax = 1 ; Tax = 2
|
SD012
|
EDI order, CA org, US plant, Multiple material, Taxable, No Tax
|
X
|
|
X
|
|
Tax = 1 ; Tax = 0
|
SD013
|
EDI order, CA org, US plant, Multiple material, Kids Exempt, No Tax
|
|
X
|
X
|
|
Tax = 2 ; Tax = 0
|
SD014
|
Manual order, CA org, CA plant, single material, Taxable
|
X
|
|
|
|
Tax = 1
|
SD015
|
Manual order, CA org, CA plant, single material, Kids Exempt
|
|
X
|
|
|
Tax = 2
|
SD016
|
Manual order, CA org, CA plant, single material, No Tax
|
|
|
X
|
|
Tax = 0
|
SD017
|
Manual order, CA org, CA plant, Multiple material, Taxable, Kids Exempt
|
X
|
X
|
|
|
Tax = 1 ; Tax = 2
|
SD018
|
Manual order, CA org, CA plant, Multiple material, Taxable, No Tax
|
X
|
|
X
|
|
Tax = 1 ; Tax = 0
|
SD019
|
Manual order, CA org, CA plant, Multiple material, Kids Exempt, No Tax
|
|
X
|
X
|
|
Tax = 2 ; Tax = 0
|
SD020
|
Manual order, CA org, US plant, Multiple material, Tax not maintained on one of the items
|
X
|
|
|
NA
|
Tax = 1; No tax
|